package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 出入库对象 sys_record
 *
 * @author orange
 * @date 2022-04-07
 */
public class SysRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出入库记录 */
    private Long recordId;

    /** 出入库类型 1 入库 2 出库 */
    @Excel(name = "出入库类型 1 入库 2 出库")
    private Integer recordType;

    /** 出货负责人 */
    @Excel(name = "出货负责人")
    private Long person;

    /** 货物id */
    @Excel(name = "货物id")
    private Long stockId;

    /** 出入库凭证图 */
    @Excel(name = "出入库凭证图")
    private String picture;

    /** 出入数量 */
    @Excel(name = "出入数量")
    private Long num;

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId()
    {
        return recordId;
    }
    public void setRecordType(Integer recordType)
    {
        this.recordType = recordType;
    }

    public Integer getRecordType()
    {
        return recordType;
    }
    public void setPerson(Long person)
    {
        this.person = person;
    }

    public Long getPerson()
    {
        return person;
    }
    public void setStockId(Long stockId)
    {
        this.stockId = stockId;
    }

    public Long getStockId()
    {
        return stockId;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("recordId", getRecordId())
                .append("recordType", getRecordType())
                .append("person", getPerson())
                .append("stockId", getStockId())
                .append("createTime", getCreateTime())
                .append("picture", getPicture())
                .append("num", getNum())
                .toString();
    }
}
